#pragma once

class VertexBuffer
{
public:
	VertexBuffer(unsigned int numVertices);
	~VertexBuffer();

	Vertex*			Map();
	void			Unmap();

	void			SetRawData(void* data, unsigned int offset, unsigned int size);
	void			SetVertexData(Vertex* data, unsigned int firstId, unsigned int count);

private:
	unsigned int	numVertices;
	unsigned int	bufferHandle;
};

